

import maizuo from '../utils/request';

/**
 * @description 影院列表
 */
export  const  getCinemaListApi = (params = {},headers={}) => {
  return maizuo.get('/gateway',{
     params:params,
     headers:{
        "X-Host":"mall.film-ticket.cinema.list",
        ...headers,
     }
  })
}


/**
 * @description 影院信息
 */
export  const  getCinemaInfoApi = (params = {},headers={}) => {
  return maizuo.get('/gateway',{
     params:params,
     headers:{
        "X-Host":"mall.film-ticket.cinema.info",
        ...headers,
     }
  })
}

/**
 * @description 影院播放电影列表
 */
export  const  getCinemaShowFilmsApi = (params = {},headers={}) => {
  return maizuo.get('/gateway',{
     params:params,
     headers:{
        "X-Host":"mall.film-ticket.film.cinema-show-film",
        ...headers,
     }
  })
}


/**
 * @description 影院播放电影的时刻列表
 */
export  const  getFilmsScheduleListApi = (params = {},headers={}) => {
  return maizuo.get('/gateway',{
     params:params,
     headers:{
        "X-Host":"mall.film-ticket.schedule.list",
        ...headers,
     }
  })
}


/**
 * @description 获取某场电影场的时刻信息
 */
export  const  getScheduleInfoApi = (params = {},headers={}) => {
  return maizuo.get('/gateway',{
     params:params,
     headers:{
        "X-Host":"mall.film-ticket.schedule.info",
        ...headers,
     }
  })
}


/**
 * @description 获取某场电影场的时刻信息
 */
export  const  getScheduleSeatListApi = (params = {},headers={}) => {
  return maizuo.get('/gateway',{
     params:params,
     headers:{
        "X-Host":"mall.film-ticket.seat.list",
        ...headers,
     }
  })
}